<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$seoTitle} - {$web_name}</title>
    <meta name="description" content="" />
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/static/css/style.css?a=sdf">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/static/css/list.css?a=sdf2">
</head>
<body>
{include file="common/header" /}

<main>
    <!--<nav class="breadcrumb">-->
        <!--<div class="breadcrumb-content">-->
            <!--<a href="index.html">Home</a>-->
            <!--<span class="separator">/</span>-->
            <!--<span>Articles</span>-->
        <!--</div>-->
    <!--</nav>-->

    <div class="content-container">
        <!-- Left Column - Main Content -->
        <div class="left-column">
            <h2 style="margin-bottom: 30px;font-size:35px;border-bottom: 2px #FF7F50 solid; padding-bottom: 10px;">Latest {$seoTitle} Articles</h2>
            <div class="article-list">
                <!-- Repeat this card for each article -->
                <?php
                if(!empty($list)){
                    foreach($list as $k=>$v){
                    ?>
                    <div class="article-card">
                        <a href="{$v['url']}" title="{$v['title']}">
                            <img src="{$v['image']}" alt="{$v['title']}">
                            <h3>{$v['title']}</h3>
                            <p>{$v['summary']}</p>
                            <span>Read More →</span>
                        </a>

                    </div>
                    <?php
                    }
                }
                ?>
                <!-- Add more article cards as needed -->
            </div>

            <!-- Pagination -->
            <div class="pagination">
                {$page}
                <!--<a class="page-number">← Previous</a>-->
                <!--<a class="page-number active">1</a>-->
                <!--<a class="page-number">2</a>-->
                <!--<a class="page-number">3</a>-->
                <!--<a class="page-number">Next →</a>-->
            </div>

            <h2 style="margin-bottom: 20px;border-bottom: 2px #FF7F50 solid; padding-bottom: 10px;">Top 10 {$seoTitle} Articles</h2>
            <div class="article-list">
                <!-- Repeat this card for each article -->
                <?php
                if(!empty($top10Rs)){
                    foreach($top10Rs as $k=>$v){
                ?>
                <div class="article-card">
                    <a href="{$v['url']}" title="{$v['title']}">
                        <h3>{$v['title']}</h3>
                    </a>
                </div>
                <?php
                    }
                }
                ?>
                <!-- Add more article cards as needed -->
            </div>

        </div>

        <!-- Right Column - Recommended Content -->
        <div class="right-column">
            <h3 style="margin-bottom: 20px;font-size:25px;border-bottom: 2px #FF7F50 solid; padding-bottom: 10px;">Recommended Reads</h3>
            <?php
                if(!empty($tjRs)){
                    foreach($tjRs as $k=>$v){
                    ?>
                    <div class="recommended-card">
                        <a href="{$v['url']}" title="{$v['title']}">
                            <img src="{$v['image']}" alt="{$v['title']}">
                            <h4>{$v['category_name']}</h4>
                            <p>{$v['title']}</p>
                        </a>
                    </div>
                    <?php
                    }
                }
            ?>



        </div>
    </div>
</main>

{include file="common/footer" /}


</body>
</html>